var $ = require('../../lib/jquery');
var util = require('./common/util');
var nav = require('./common/nav');
var _header = require('./common/header');
new nav();
new _header();
var template =require('../tpl/template');
var minHeight = require('./common/minHeight');
minHeight.init();
var data=JSON.parse(sessionStorage.getItem('data'));
if(data.sex==1){
    data.sex='男'
}else{
    
    data.sex='女' 

}
if(data.image1!==''){
    $('.pic').hmtl('<img src="'+data.image1+'" />');
}
$('.title').html(data.hospitalName);
$('.title1').html(data.medicalHospital);
$('.a1').html('姓名：'+data.name);
$('.a2').html('姓别：'+data.sex);
$('.a3').html('年龄：'+data.age);
$('.a4').html('标本号：'+data.sampleNo);
$('.a5').html('部位：'+data.inspectName);
$('.a6').html('科别：'+data.keshi);
$('.a7').html('申请医师：'+data.sendDoc);
$('.a8').html('临床诊断：'+data.resultName);
$('.a9').html('报告医师：'+data.reportName);
$('.a10').html('审核医师：'+data.auditorName);
var m=template('result1',{data:data.masterDate});
$('.js_rows').html(m);
$('.js_jian').on('click',function(){
    window.location.href='./bgxq.html'
})